package com.cqhilink.iot.jobstandardmanagement.facade.model;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 系统消息；可进行处理；
 */
public class RabbitMqMessage implements Serializable{
    // 消息ID
    private String messageId;
    //消息分类 0：文本消息；1语音消息；2:视频消息；3:附件消息
    private BigDecimal messageType;
    // 消息内容
    private String messageContent;
    // 消息参数
    private String messageParmeter;
    // 是否已读 0未读；1已读
    private BigDecimal isRead;
    // 消息等级 1::严重；2 一般；3紧急；
    private BigDecimal messageLevel;
    //1：业务消息；2系统消息；3：更新消息；4：其他消息
    private String fromTyppe;
    //人员ID 或者 组织ID
    private String fromObject;
    //1：人员；2：组织
    private String toType;
    // 人员ID 或者组织ID
    private String toObject;
    // 消息发送时间
    private String messageSendTime;
    // 消息创建时间
    private String createTime;
    // 消息修改时间
    private String modifyTime;
    // 0：正常 1：删除
    private BigDecimal status;
    // 处理时间
    private String dealTime;
    // 处理url
    private String dealUrl;
    // 是否需要处理
    private BigDecimal isDel;

    private String mark1;

    private String mark2;

    private String mark3;

    private String mark4;

    private String mark5;

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId == null ? null : messageId.trim();
    }

    public BigDecimal getMessageType() {
        return messageType;
    }

    public void setMessageType(BigDecimal messageType) {
        this.messageType = messageType;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent == null ? null : messageContent.trim();
    }

    public String getMessageParmeter() {
        return messageParmeter;
    }

    public void setMessageParmeter(String messageParmeter) {
        this.messageParmeter = messageParmeter == null ? null : messageParmeter.trim();
    }

    public BigDecimal getIsRead() {
        return isRead;
    }

    public void setIsRead(BigDecimal isRead) {
        this.isRead = isRead;
    }

    public BigDecimal getMessageLevel() {
        return messageLevel;
    }

    public void setMessageLevel(BigDecimal messageLevel) {
        this.messageLevel = messageLevel;
    }

    public String getFromTyppe() {
        return fromTyppe;
    }

    public void setFromTyppe(String fromTyppe) {
        this.fromTyppe = fromTyppe == null ? null : fromTyppe.trim();
    }

    public String getFromObject() {
        return fromObject;
    }

    public void setFromObject(String fromObject) {
        this.fromObject = fromObject == null ? null : fromObject.trim();
    }

    public String getToType() {
        return toType;
    }

    public void setToType(String toType) {
        this.toType = toType == null ? null : toType.trim();
    }

    public String getToObject() {
        return toObject;
    }

    public void setToObject(String toObject) {
        this.toObject = toObject == null ? null : toObject.trim();
    }

    public String getMessageSendTime() {
        return messageSendTime;
    }

    public void setMessageSendTime(String messageSendTime) {
        this.messageSendTime = messageSendTime == null ? null : messageSendTime.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime == null ? null : modifyTime.trim();
    }

    public BigDecimal getStatus() {
        return status;
    }

    public void setStatus(BigDecimal status) {
        this.status = status;
    }

    public String getDealTime() {
        return dealTime;
    }

    public void setDealTime(String dealTime) {
        this.dealTime = dealTime == null ? null : dealTime.trim();
    }

    public String getDealUrl() {
        return dealUrl;
    }

    public void setDealUrl(String dealUrl) {
        this.dealUrl = dealUrl == null ? null : dealUrl.trim();
    }

    public BigDecimal getIsDel() {
        return isDel;
    }

    public void setIsDel(BigDecimal isDel) {
        this.isDel = isDel;
    }

    public String getMark1() {
        return mark1;
    }

    public void setMark1(String mark1) {
        this.mark1 = mark1 == null ? null : mark1.trim();
    }

    public String getMark2() {
        return mark2;
    }

    public void setMark2(String mark2) {
        this.mark2 = mark2 == null ? null : mark2.trim();
    }

    public String getMark3() {
        return mark3;
    }

    public void setMark3(String mark3) {
        this.mark3 = mark3 == null ? null : mark3.trim();
    }

    public String getMark4() {
        return mark4;
    }

    public void setMark4(String mark4) {
        this.mark4 = mark4 == null ? null : mark4.trim();
    }

    public String getMark5() {
        return mark5;
    }

    public void setMark5(String mark5) {
        this.mark5 = mark5 == null ? null : mark5.trim();
    }
}